package com.xinzhidi.web.householdClassify.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinzhidi.web.householdClassify.domain.HouseholdClassify;

import java.util.List;


/**
 * 住户分类Mapper接口
 * 
 * @author gm
 * @date 2023-06-09
 */
public interface HouseholdClassifyMapper  extends BaseMapper<HouseholdClassify>
{
    /**
     * 查询住户分类
     * 
     * @param id 住户分类主键
     * @return 住户分类
     */
    public HouseholdClassify selectHouseholdClassifyById(Long id);

    /**
     * 查询住户分类列表
     * 
     * @param householdClassify 住户分类
     * @return 住户分类集合
     */
    public List<HouseholdClassify> selectHouseholdClassifyList(HouseholdClassify householdClassify);

    /**
     * 新增住户分类
     * 
     * @param householdClassify 住户分类
     * @return 结果
     */
    public int insertHouseholdClassify(HouseholdClassify householdClassify);

    /**
     * 修改住户分类
     * 
     * @param householdClassify 住户分类
     * @return 结果
     */
    public int updateHouseholdClassify(HouseholdClassify householdClassify);

    /**
     * 删除住户分类
     * 
     * @param id 住户分类主键
     * @return 结果
     */
    public int deleteHouseholdClassifyById(Long id);

    /**
     * 批量删除住户分类
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHouseholdClassifyByIds(Long[] ids);
}
